﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using System.Diagnostics;

namespace _2DGame
{
    class Respawn
    {

        public Vector2 CheckPosition(bool BadCollision, Vector2 position)
        { 

            if (position.X > 100 )
            {
                position.X = 0;

            }

            return position;
        }

    }
}
